home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 25 / AACD 25.iso / AACD / Sound / MSE / definitions / Test / Test.def next >
Encoding:
Text File  |  2000-03-14  |  6.9 KB  |  547 lines

  1. Define Device (
  2.     Manufacturer "Test"
  3.     Device "Test"
  4.     CharSet (
  5.         az2AZ
  6.         Disable (
  7.             ' !   #   %   &   (   )   :   ;   ?   @   [   ]   ^   ` {|}~
  8.             $21 $23 $25 $26 $28 $29 $3A $3B $3F $40 $5B $5D $5E $60 $7B-$7E
  9.         )
  10.         Remap (
  11.             $3C to $28 ' < (
  12.             $3E to $29 ' > )
  13.         )
  14.     )
  15.     NoteRange 20 50
  16. )
  17.  
  18. Define Usage (
  19.     "Important usage information"
  20.     "can be defined as well!"
  21.     "------------------------------------"
  22.     "It's a great way to remind yourself"
  23.     "about things you need to remember"
  24.     "about each module!"
  25. )
  26.  
  27. Define Font "Topaz2" (
  28.     Name "Topaz2.font"
  29.     Size 8
  30. )
  31.  
  32. Define Font "Garnet" (
  33.     Name "Garnet.font"
  34.     Size 16
  35.     Style ( BOLD )
  36. )
  37.  
  38. Define Font "Numbers" (
  39.     Name "Topaz2N.font"
  40.     Size 8
  41. )
  42.  
  43. Define Font "Helvetica" (
  44.     Name "Helvetica.font"
  45.     Size 9
  46. )
  47.  
  48. Define Font "Topaz2p" (
  49.     Name "Topaz2p.font"
  50.     Size 8
  51. )
  52.  
  53. Define Window "Main" (
  54.     Position 10 19
  55.     Size 340 200
  56.     Border
  57. )
  58.  
  59. Define Window "Second" (
  60.     Position 350 16
  61.     Size 250 250
  62. )
  63.  
  64. Define Window "Third" (
  65.     Position 10 240
  66.     Size 314 150
  67.     Border
  68. )
  69.  
  70. Define Window "Draggable" (
  71.     Position 330 290
  72.     Size 300 100
  73.     DragBar
  74.     Title
  75. )
  76.  
  77. Define Link "SliderTextTest" (
  78.     Type Texts (
  79.         Font "Helvetica"
  80.         Position 0 19
  81.         Size 100 8
  82.         Data (
  83.             "1"
  84.             "Neeto!"
  85.             "Special Gadget"
  86.             "Sting"
  87.             "5"
  88.         )
  89.     )
  90. )
  91.  
  92. Define Link "EQ_Gain" (
  93.     Type Numbers (
  94.         Font "Helvetica"
  95.         Position 0 -12
  96.         Size 100 8
  97.         MinValue -12
  98.         Skip .1
  99.         LevelText "dB"
  100.     )
  101. )
  102.  
  103. Define Link "Note" (
  104.     Type Note (
  105.         Font "Numbers"
  106.         Position 0 -12
  107.         Size 100 8
  108.     )
  109. )
  110.  
  111. Define Link "Auto-E" (
  112.     Type ARexx (
  113.         Data (
  114.             File "modules/Test/Test.rexx"
  115.         )
  116.     )
  117. )
  118.  
  119. Define Link "Calc-E" (
  120.     Type ARexx (
  121.         Data (
  122.             File "modules/Test/Test2.rexx"
  123.         )
  124.     )
  125. )
  126.  
  127. 'Define Data "List" (
  128. '    Type List
  129. '            Data (
  130. '                "Item 0 - FIRST"
  131. '                "Item 1"
  132. '                "Item 2"
  133. '                "Item 3"
  134. '                "Item 4"
  135. '                "Item 5"
  136. '                "Item 6"
  137. '                "Item 7"
  138. '                "Item 8"
  139. '                "Item 9"
  140. '                "Item 10"
  141. '                "Item 11"
  142. '                "Item 12"
  143. '                "Item 13"
  144. '                "Item 14"
  145. '                "Item 15"
  146. '                "Item 16"
  147. '                "Item 17 - LAST"
  148. '            )
  149. ')
  150.  
  151. 'Define Link "ADSR" (
  152. '    Type Envelope (
  153. '        Position 168 38
  154. '        Size 135 50
  155. '        Max 127 127
  156. '        Data (
  157. '            0 0
  158. '            "Attack" 127
  159. '            "Decay" "Sustain"
  160. '            HOLD
  161. '            "Release" 0
  162. '        )
  163. '    )
  164. ')
  165.  
  166. Window "Main" (
  167.     Border (
  168.         Position 10 10
  169.         Size 320 180
  170.         Frame 3D-Recess
  171.     )
  172.  
  173.     Border (
  174.         Position 233 20
  175.         Size 38 26
  176.         Fill 1
  177.         Frame None
  178.     )
  179.     Border (
  180.         Position 271 20
  181.         Size 38 26
  182.         Fill 3
  183.         Frame None
  184.     )
  185.  
  186.     Text "ABCDEFGHIJK" (
  187.         Position 240 35
  188.         Font "Numbers"
  189.         Color 2
  190.     )
  191.  
  192.     Gadget "1" ( '1
  193.         Position 20 40
  194.         Font "Numbers"
  195.         Type Slider (
  196.             Range 0 127
  197.             Default 5
  198.             Size 100 12
  199.             Direction HORIZONTAL
  200.             LevelPlace RIGHT
  201.         )
  202.     )
  203.  
  204.     Gadget "2" ( '2
  205.         Position 20 52
  206.         Font "Numbers"
  207.         Type Slider (
  208.             Range 0 127
  209.             Default 110
  210.             Size 100 12
  211.             Direction HORIZONTAL
  212.             LevelPlace RIGHT
  213.         )
  214.     )
  215.  
  216.     Gadget "3" ( '3
  217.         Position 20 64
  218.         Font "Numbers"
  219.         Type Slider (
  220.             Range 0 127
  221.             Default 42
  222.             Size 100 12
  223.             Direction HORIZONTAL
  224.             LevelPlace RIGHT
  225.         )
  226.     )
  227.  
  228.     Gadget "4" ( '4
  229.         Position 20 76
  230.         Font "Numbers"
  231.         Type Slider (
  232.             Range 0 127
  233.             Default 10
  234.             Size 100 12
  235.             Direction HORIZONTAL
  236.             LevelPlace RIGHT
  237.         )
  238.     )
  239.  
  240.     Gadget "5" ( '5
  241.         Position 20 88
  242.         Font "Numbers"
  243.         Type Slider (
  244.             Range 0 127
  245.             Default 127
  246.             Size 100 12
  247.             Direction HORIZONTAL
  248.             LevelPlace RIGHT
  249.         )
  250.     )
  251.  
  252.     Gadget "ARexxTest1" ( '6
  253.         Position 20 25
  254.         Type Button (
  255.             Label "Automate"
  256.             Size 100 12
  257.             Link "Auto-E"
  258.         )
  259.     )
  260.  
  261.     Gadget "TextTest" ( '7
  262.         Position 200 70
  263.         Type Slider (
  264.             Range 0 4
  265.             Size 100 15
  266.             Direction HORIZONTAL
  267.             Default 2
  268.             Link "SliderTextTest"
  269.         )
  270.     )
  271.  
  272.     Gadget "A" ( '8
  273.         Position 200 130
  274.         Font "Numbers"
  275.         Type Slider (
  276.             Range 0 200
  277.             Default 51
  278.             Size 100 10
  279.             Direction HORIZONTAL
  280.             Link "EQ_Gain"
  281.         )
  282.     )
  283.  
  284.     Text "Calculate" (
  285.         Position 34 137
  286.         Font "Topaz2"
  287.         Color 2
  288.         Shadow
  289.     )
  290.     Gadget "Calc_1" ( '9
  291.         Position 20 143
  292.         Font "Numbers"
  293.         Type Slider (
  294.             Range 0 127
  295.             Default 5
  296.             Size 100 12
  297.             Direction HORIZONTAL
  298.             LevelPlace RIGHT
  299.             Link "Calc-E"
  300.         )
  301.     )
  302.     Text "+" (
  303.         Position 150 163
  304.         Font "Topaz2"
  305.         Color 2
  306.     )
  307.     Gadget "Calc_2" ( '10
  308.         Position 20 155
  309.         Font "Numbers"
  310.         Type Slider (
  311.             Range 0 127
  312.             Default 6
  313.             Size 100 12
  314.             Direction HORIZONTAL
  315.             LevelPlace RIGHT
  316.             Link "Calc-E"
  317.         )
  318.     )
  319.     Text "=" (
  320.         Position 150 175
  321.         Font "Topaz2"
  322.         Color 2
  323.     )
  324.     Gadget "Calc_3" ( '11
  325.         Position 20 167
  326.         Font "Numbers"
  327.         Type Slider (
  328.             Range 0 254
  329.             Default 11
  330.             Size 100 12
  331.             Direction HORIZONTAL
  332.             LevelPlace RIGHT
  333.         )
  334.     )
  335. )
  336.  
  337. Window "Second" (
  338.     Border (
  339.         Position 20 10
  340.         Size 150 150
  341.         Fill 3
  342.     )
  343.  
  344.     Gadget "Borna" ( '12
  345.         Position 200 60
  346.         Font "Numbers"
  347.         Type Slider (
  348.             Range 10 99
  349.             Size 15 100
  350.             Direction VERTICAL
  351.             LevelPlace BELOW
  352.             LevelText "goombas"
  353.         )
  354.     )
  355.  
  356.     Gadget "Cycla" ( '13
  357.         Position 80 60
  358.         Type Cycle (
  359.             Width 3
  360.             Data (
  361.                 "OFF"
  362.                 "ON"
  363.                 "YES"
  364.             )
  365.         )
  366.     )
  367.  
  368.     Gadget "Cyclab" ( '14
  369.         Position 80 80
  370.         Type Cycle (
  371.             Width 3
  372.             Data (
  373.                 "One"
  374.                 "Two"
  375.                 "Three"
  376.             )
  377.             DataValues (
  378.                 3 7 $12
  379.             )
  380.         )
  381.     )
  382.  
  383.     Gadget "Name" ( '15
  384.         Position 40 115
  385.         Font "Topaz2"
  386.         Type String (
  387.             MaxChars 10
  388.         )
  389.     )
  390.  
  391.     Text DEVICE (
  392.         Position 40 35
  393.         Font "Garnet"
  394.     )
  395.  
  396.     Image "modules/Test/Test.iff" (
  397.         Position 5 180
  398.     )
  399.  
  400. )
  401.  
  402. Window "Third" (
  403.     Gadget "ListTest" ( '16
  404.         Position 10 10
  405.         Type List (
  406.             Size 150 100
  407. 'Data "List"
  408.             Data (
  409.                 "Item 0 - FIRST"
  410.                 "Item 1"
  411.                 "Item 2"
  412.                 "Item 3"
  413.                 "Item 4"
  414.                 "Item 5"
  415.                 "Item 6"
  416.                 "Item 7"
  417.                 "Item 8"
  418.                 "Item 9"
  419.                 "Item 10"
  420.                 "Item 11"
  421.                 "Item 12"
  422.                 "Item 13"
  423.                 "Item 14"
  424.                 "Item 15"
  425.                 "Item 16"
  426.                 "Item 17 - LAST"
  427.             )
  428.             Default 15
  429.         )
  430.     )
  431.  
  432.  
  433.     Text "A" (
  434.         Position 168 101
  435.     )
  436.     Gadget "Attack" ( '17
  437.         Position 178 92
  438.         Font "Numbers"
  439.         Type Slider (
  440.             Range 0 127
  441.             Default 5
  442.             Size 100 12
  443.             Direction HORIZONTAL
  444.             LevelPlace RIGHT
  445. '            Link "ADSR"
  446.         )
  447.     )
  448.  
  449.     Text "D" (
  450.         Position 168 113
  451.     )
  452.     Gadget "Decay" ( '18
  453.         Position 178 104
  454.         Font "Numbers"
  455.         Type Slider (
  456.             Range 0 127
  457.             Default 110
  458.             Size 100 12
  459.             Direction HORIZONTAL
  460.             LevelPlace RIGHT
  461. '            Link "ADSR"
  462.         )
  463.     )
  464.  
  465.     Text "S" (
  466.         Position 168 125
  467.     )
  468.     Gadget "Sustain" ( '19
  469.         Position 178 116
  470.         Font "Numbers"
  471.         Type Slider (
  472.             Range 0 127
  473.             Default 42
  474.             Size 100 12
  475.             Direction HORIZONTAL
  476.             LevelPlace RIGHT
  477. '            Link "ADSR"
  478.         )
  479.     )
  480.  
  481.     Text "R" (
  482.         Position 168 137
  483.     )
  484.     Gadget "Release" ( '20
  485.         Position 178 128
  486.         Font "Numbers"
  487.         Type Slider (
  488.             Range 0 127
  489.             Default 10
  490.             Size 100 12
  491.             Direction HORIZONTAL
  492.             LevelPlace RIGHT
  493. '            Link "ADSR"
  494.         )
  495.     )
  496. )
  497.  
  498. Window "Draggable" (
  499.     Text "Drag me!" (
  500.         Position 20 35
  501.         Font "Garnet"
  502.         Color 2
  503.         Shadow
  504.     )
  505.  
  506.     Gadget "6" ( '21
  507.         Position 20 80
  508.         Font "Topaz2"
  509.         Type Slider (
  510.             Range 0 200
  511.             Size 160 12
  512.             Direction HORIZONTAL
  513.             LevelPlace RIGHT
  514.             LevelText "ms"
  515.             Default 40
  516.         )
  517.     )
  518.  
  519.     Gadget "MX" ( '22
  520.         Position 180 16
  521.         Font "Topaz2p"
  522.         Type MX (
  523.             Data (
  524.                 "Mutually"
  525.                 "Exclusive"
  526.                 "Gadget"
  527.                 "Type"
  528.             )
  529.             Spacing 2
  530.             LabelPlace RIGHT
  531.         )
  532.     )
  533.  
  534.     Gadget "Note" ( '23
  535.         Position 79 62
  536. '        Font "Topaz2p"
  537.         Type Slider (
  538.             Range 0 127
  539.             Size 100 12
  540.             Direction HORIZONTAL
  541.             LevelPlace RIGHT
  542.             Default 40
  543.             Link "Note"
  544.         )
  545.     )
  546. )
  547.